home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-in_the_mag-
/
basics
/
amos
/
bestofsd.lha
/
Xor2.AMOS
/
Xor2.amosSourceCode
Wrap
AMOS Source Code
|
1992-10-20
|
968b
|
35 lines
' *****************************************************
' * *
' * This AMOS-program was made by Svante Danielsson *
' * *
' * Mail me at: til96sdn@mds.mdh.se *
' * *
' *****************************************************
Degree
For N=1 To 0 Step -1
Screen Open N,320,256,32,Lowres : Flash Off : Curs Off : Hide
Palette $4,$15,$26,$37,$48,$59,$6A,$7B,$8C,$9D,$AE,$BF,$CE,$DD,$EC,$FB,$FA,$E9,$D8,$C7,$B6,$A5,$94,$83,$72,$61,$52,$43,$34,$24,$14,$4
For Y=0 To 255 Step 16
For X=0 To 319 Step 16
Ink Rnd(30)+1
Bar X,Y To X+16,Y+16
Next
Next
Next
Shift Up 1,1,31,1
Repeat
A=Rnd(19)*16
B=Rnd(15)*16
X=144+Sin(C*2.0)*C/10
Y=116+Cos(C*2.0)*C/10
Screen Copy 1,A,B,A+16,B+16 To 0,X,Y,%1100000
Inc C
Until Key State(69)
Edit